<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateDansTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('dans', function(Blueprint $table)
		{
			$table->increments('id');
			$table->integer('plane_id');
			$table->date('dan_date');
			$table->integer('dan_plane');
			$table->integer('dan_real');
			$table->integer('dan_differ');
			$table->float('conver_plane');
			$table->float('conver_real');
			$table->float('conver_differ');
			$table->integer('flow_plane');
			$table->integer('flow_real');
			$table->integer('flow_differ');
			$table->string('description');
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('dans');
	}

}
